useState passed asynchronously with useEffect

welcome to shbcf.ru